package dao

import "gorm.io/gorm"

type Doctor struct {
	gorm.Model
	Name        string  `gorm:"type:varchar(30);not null;comment:'医生姓名'"`
	Image       string  `gorm:"type:varchar(255);not null;comment:'上传图片'"`
	CollegeArea string  `gorm:"type:varchar(30);not null;comment:'所属院区'"`
	ClassArea   string  `gorm:"type:varchar(30);not null;comment:'所属科室'"`
	Level       string  `gorm:"type:varchar(30);not null;comment:'医生职称'"`
	Price       float64 `gorm:"type:decimal(10,2);not null;comment:'挂号费'"`
	Prices      float64 `gorm:"type:decimal(10,2);not null;comment:'诊查费'"`
	Intro       string  `gorm:"type:varchar(255);not null;comment:'医生简介'"`
}
type Hao struct {
	gorm.Model
	Name        string `gorm:"type:varchar(30);not null;comment:'患者姓名'"`
	Hospital    string `gorm:"type:varchar(30);not null;comment:'就诊医院'"`
	HospitalAdd string `gorm:"type:varchar(30);not null;comment:'医院地址'"`
	Doctor      string `gorm:"type:varchar(30);not null;comment:'就诊医生'"`
	Level       string `gorm:"type:varchar(30);not null;comment:'医生职称'"`
	Status      string `gorm:"type:varchar(10);not null;comment:'就诊状态'"`
}
